Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Commit 62301b8cacb2de7ff3ecb65cb6652a0880c9c619


Parents : 95cf7b3
Author : Mark Qvist <mark@unsigned.io>
Date : 2021-08-28T21:48:25+02:00

Added connection from announce stream.

Changes

1 files changed, 1 insertions(+), 0 deletions(-)


Diff

diff --git a/nomadnet/ui/textui/Network.py b/nomadnet/ui/textui/Network.py
index f3e02ea..5dd965c 100644
--- a/nomadnet/ui/textui/Network.py
+++ b/nomadnet/ui/textui/Network.py
@@ -107,6 +107,7 @@ class AnnounceInfo(urwid.WidgetWrap):
self.parent.left_pile.contents[0] = (self.parent.announce_stream_display, options)
def connect(sender):
+ self.parent.browser.retrieve_url(RNS.hexrep(source_hash, delimit=False))
show_announce_stream(None)
def converse(sender):


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────